#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int count = 0;
	int n = 6;

	for (int i = 1; i <= n; i++)
	{
		for (int j = 1; j <= 2 * i; j++)
		{
			count++;
		}
	}
	printf("%d\n", count);
	return 0;
}